package com.aptech.jboa.pojo;

import java.util.HashSet;
import java.util.Set;


/**
 * Function entity. @author MyEclipse Persistence Tools
 */

public class Function  implements java.io.Serializable {


    // Fields    

     private Long id;
     private Module module;
     private String name;
     private String url;
     private Set roleFunctions = new HashSet(0);


    // Constructors

    /** default constructor */
    public Function() {
    }

    
    /** full constructor */
    public Function(Module module, String name, String url, Set roleFunctions) {
        this.module = module;
        this.name = name;
        this.url = url;
        this.roleFunctions = roleFunctions;
    }

   
    // Property accessors

    public Long getId() {
        return this.id;
    }
    
    public void setId(Long id) {
        this.id = id;
    }

    public Module getModule() {
        return this.module;
    }
    
    public void setModule(Module module) {
        this.module = module;
    }

    public String getName() {
        return this.name;
    }
    
    public void setName(String name) {
        this.name = name;
    }

    public String getUrl() {
        return this.url;
    }
    
    public void setUrl(String url) {
        this.url = url;
    }

    public Set getRoleFunctions() {
        return this.roleFunctions;
    }
    
    public void setRoleFunctions(Set roleFunctions) {
        this.roleFunctions = roleFunctions;
    }
   








}